package com.ruoyi.project.system.function.service;



import com.ruoyi.project.system.base_family_info.domain.BaseFamilyInfo;
import com.ruoyi.project.system.function.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
*
*
* @Author: 郑吉志
*
* @Create: 23.2.22
**/
public interface FunctionService {
    Integer selectStateByYear(@Param("year") Integer year);
    void updateOverviewDB(OverviewDB overviewDB);
    void sealByYear(Integer flag,Integer year);
    public void dataProcess(List<int[]> mergeList,List<Map<Integer,String>> list);
    List<Integer> selectYear(int year);
    String selectName(String name);

    Integer getLastId();
    void add(int year,String fid);
    void seal(String flag,String year);
    List<String> selectNumFarmer();
    List<DetailDB> selectDetailDBList(int id);
    OverviewDB selectOverviewDB(String fid,int year);
    BasicInfo selectBasicInfo(String fid);
    List<String> selectFidList();
    String getFid(String name,int num,double area);

    void saveDetail(DetailDB db);
    void saveDetailList(List<DetailDB> list);
    BaseFamilyInfo selectHuZhu(String fid);
}
